home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 19.zip
/
BS1 part 19
/
BS1 utils kick 1.2 d2.adf
/
Prologue.PS
< prev
next >
Wrap
Text File
|
1988-01-19
|
6KB
|
77 lines
% ProScript Prologue version 1.0, 31-Aug-1988
% Copyright © 1988 Edmund J. Scherer
32 dict begin/VtoHRatio 72 80 div def/IdentityMatrix matrix def
/AmigaEncodingChanges[152/dotlessi 153/grave 154/acute 155/circumflex 156
/tilde 157/dieresis 158/ring 159/cedilla 160/space 164/currency 166/bar 168
/dieresis 169/copyright 170/ordfeminine 172/logicalnot 173/hyphen 174
/registered 175/macron 176/ring 177/.notdef 178/quotedblright 179/dagger 180
/quotesingle 185/quotedblleft 186/ordmasculine 188/daggerdbl 189/.notdef 192
/Agrave 193/Aacute 194/Acircumflex 195/Atilde 196/Adieresis 197/Aring 198/AE
199/Ccedilla 200/Egrave 201/Eacute 202/Ecircumflex 203/Edieresis 204/Igrave
205/Iacute 206/Icircumflex 207/Idieresis 208/.notdef 209/Ntilde 210/Ograve 211
/Oacute 212/Ocircumflex 213/Otilde 214/Odieresis 215/endash 216/Oslash 217
/Ugrave 218/Uacute 219/Ucircumflex 220/Udieresis 223/germandbls 224/agrave 225
/aacute 226/acircumflex 227/atilde 228/adieresis 229/aring 230/ae 231/ccedilla
232/egrave 233/eacute 234/ecircumflex 235/edieresis 236/igrave 237/iacute 238
/icircumflex 239/idieresis 241/ntilde 242/ograve 243/oacute 244/ocircumflex
245/otilde 246/odieresis 247/emdash 248/oslash 249/ugrave 250/uacute 251
/ucircumflex 252/udieresis 255/ydieresis]def/AmigaEncodingVector
StandardEncoding length array def AmigaEncodingVector 0 StandardEncoding
putinterval AmigaEncodingChanges aload pop AmigaEncodingChanges length 2 idiv{
AmigaEncodingVector 3 1 roll put}repeat/min{2 copy gt{exch}if pop}bind def/max
{2 copy lt{exch}if pop}bind def/shear{dup type/arraytype eq dup{4 2}{3 1}
ifelse roll 1 exch dup sin exch cos div 3 -1 roll dup sin exch cos div 1 0 0 7
-1 roll{7 -1 roll astore}{matrix astore currentmatrix matrix concatmatrix
setmatrix}ifelse}bind def/CopyFont{{exch dup/FID eq{pop pop}{exch NewFontDict
3 1 roll put}ifelse}forall}bind def/ReencodeChrSet{CopyFont dup NewFontDict
/FontName 3 -1 roll put NewFontDict/Encoding AmigaEncodingVector put}bind def
/ZeroString{1 string}bind def/TempMatrix1 matrix def/TempMatrix2 matrix def
/TempMatrix3 matrix def/MakeStyledBitMappedFont{3 1 roll cvn exch cvn findfont
2 index 2 and 0 ne{20 0 IdentityMatrix TempMatrix1 copy shear makefont}if dup
maxlength 17 max dict/NewFontDict exch def CopyFont NewFontDict dup 3 index 1
and 0 ne{/boldsmear 1 put}{pop}ifelse definefont pop pop}def/MakeBitMappedFont
{17 dict dup begin/boldsmear 0 def/highchar 3 -1 roll def/lowchar 3 -1 roll
def/charbaselinepix 3 -1 roll def/charheightpix 3 -1 roll def/FontMatrix 1
charheightpix div dup matrix scale def/FontType 3 def/FontBBox[0 0 0 0]def
/Encoding StandardEncoding def/FontInfo 2 dict dup begin/UnderlinePosition
charheightpix -0.10 mul def/UnderlineThickness charheightpix 0.06 mul def end
def/BuildCharLocals 2 dict def/BuildChar{exch begin BuildCharLocals begin
CharData exch lowchar sub get/charinfo exch def charinfo 0 get charinfo 2 get
add 0 charinfo 4 get charinfo 5 get charinfo 6 get boldsmear add charinfo 7
get setcachedevice 0 1 boldsmear{/smear exch def charinfo 1 get charheightpix
true 1 -1 IdentityMatrix TempMatrix1 copy scale charinfo 0 get smear add neg
charbaselinepix 1 sub IdentityMatrix TempMatrix2 copy translate TempMatrix3
concatmatrix{charinfo 3 get}imagemask}for end end}def/CharData highchar
lowchar sub 1 add array def{currentfile token pop cvi dup 0 lt{pop exit}if
lowchar sub dup currentfile token pop cvi currentfile token pop cvi
currentfile token pop cvi 1 index 0 eq{exch pop 1 exch ZeroString}{currentfile
2 index 7 add 8 idiv charheightpix mul string readhexstring pop}ifelse 3 index
charbaselinepix charheightpix sub 5 index 5 index add charbaselinepix 8 array
astore CharData 3 1 roll put CharData exch get dup 7 get FontBBox 3 get max
FontBBox 3 3 -1 roll put dup 6 get FontBBox 2 get max FontBBox 2 3 -1 roll put
dup 5 get FontBBox 1 get min FontBBox 1 3 -1 roll put 4 get FontBBox 0 get min
FontBBox 0 3 -1 roll put}loop end exch cvn exch definefont pop}def/Position{
moveto}bind def/SetColor{setrgbcolor}bind def/SetFont{{dup dup length 6 add
string dup dup 0(Reenc-)putinterval 3 1 roll 6 3 -1 roll putinterval cvn dup
FontDirectory exch known{exch pop}{exch cvn findfont dup maxlength dict
/NewFontDict exch def ReencodeChrSet dup NewFontDict definefont pop}ifelse}{
cvn}ifelse 3 1 roll exch 3 -1 roll findfont dup/charheightpix known{exch dup}{
exch dup VtoHRatio div exch}ifelse exch 4 -1 roll mul exch neg matrix scale
makefont setfont}bind def/BeginUnderline{currentpoint}bind def/EndUnderline{
gsave currentfont dup/FontInfo get exch/FontMatrix get dup 3 -1 roll dup 3 1
roll/UnderlineThickness get 0 exch 3 -1 roll dtransform setlinewidth pop
/UnderlinePosition get 0 exch 3 -1 roll dtransform dup 3 1 roll rmoveto add
lineto stroke grestore}bind def/Picture{gsave/ImageData exch string def 5 -2
roll translate IdentityMatrix{currentfile ImageData readhexstring pop}image
grestore}def/NewPage{5 3 roll translate 3 1 roll scale rotate 0 PageLength
translate{36 -18}{18 0}ifelse translate VtoHRatio -1 scale scale}bind def
/SetPaperSize{dup 1 le{userdict/letter known{letter}if}if dup 2 eq{userdict
/legal known{legal}if}if dup 3 eq{userdict/a4 known{a4}if}if 5 eq{userdict/b5
known{b5}if}if}bind def/SetManualFeed{statusdict begin statusdict/manualfeed
known{/manualfeed exch def}{pop}ifelse end}bind def/Initialize{/PageLength
exch def/PaperLength exch def/PaperWidth exch def/#copies exch def
currentscreen 7 1 roll 6 2 roll exch not{pop 2 index}if 3 1 roll exch not{pop
2 index}if exch 4 2 roll pop pop 3 -1 roll setscreen}bind def/PrintPage{
showpage}bind def
%%EndProlog